package com.hp.gxw.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hp.gxw.entity.SaleOrder;
import com.hp.gxw.entity.SettlementOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.gxw.entity.SettlementOrderDetails;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangping
 * @since 2023-10-17
 */
public interface ISettlementOrderService extends IService<SettlementOrder> {

    void saveInfo(SettlementOrder settlementOrder, List<SettlementOrderDetails> settlementOrderDetailsList);

    Page<Map<String, Object>> getSettlementReportPage(Page<Object> page, QueryWrapper<SaleOrder> ew);

    List<Map<String, Object>> getSettlementReportList(QueryWrapper<SaleOrder> ew);

    void add(JSONObject jsonObject);

    void upd(JSONObject jsonObject);
}
